<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
	String path=request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>更新专辑</title>
	<link type="text/css" href="<%=path%>/css/addForm.css" rel="stylesheet"/>
	<link rel="stylesheet" href = "<%=path%>/css/tree.css"></link>
	<script type="text/javascript" src="<%=path%>/js/jquery.js"></script>
	<script type="text/javascript" src="<%=path%>/fckeditor/fckeditor.js"></script>
	<script type="text/javascript" src="<%=path%>/js/tree.js"></script>
</head>

<body>
	<h3>更新专辑</h3>
<form action="<%=path%>/album/albumUpdate.dch" method="post">
        <div><span class="formtext">专辑名称:</span><input class="inputbox" value="${album.albumname}" type="text" name="album.albumname" maxlength="100"/><span class="error">*</span></div>
        <div><span class="formtext">专辑主演:</span><input class="inputbox" value="${album.actors}" type="text" name="album.actors" maxlength="100"/><span class="error">建议填写</span></div>
        <!-- 
        <div><span class="formtext">视频集数:</span><input class="inputbox" value="${album.count}" type="text" name="album.count" maxlength="10"/><span class="error">建议填写</span></div>
        <div><span class="formtext">上映时间:</span><input class="inputbox" value="${album.comeoutdate}" type="text" name="album.comeoutdate"  maxlength="20"/><span class="error">建议填写</span></div>
         -->
        <div><span class="formtext">图片路径:</span><input class="inputbox" value="${album.picturepath}" type="text" name="album.picturepath" maxlength="100"/><span class="error">*</span></div>
        
        
        <div>
        	<span class="formtext">设为推荐:</span><input type="checkbox"  name="album.recommend" ${album.recommend=="on"?"checked":""}/>
        	<span class="lock">锁定:</span><input type="checkbox" name="album.islock" ${album.islock=="on"?"checked":""} />
            <span class="error"></span>
        </div>
        <div>
          	<textarea name="album.description" cols="30" rows="5">${album.description}</textarea>
            <span class="error">填写简介</span>
        </div>
        <div>
        	 <input type="hidden" name="album.albumid" value="${album.albumid}"/>
        	 <input type="hidden" name="album.count" value="${album.count}"/>
        	 <input type="hidden" name="album.comeoutdate" value="${album.comeoutdate}"/>
        	 <input type="hidden" name="currentPage" value="${currentPage}"/>
        	 <input type="hidden" name="album.publisher" value="${album.publisher}"/>
        	 <span class="button"><input type="submit" value="提交"/></span>
             <span class="button"><input type="reset" value="重置"/></span>
        </div>
    </form>
</body>
<script type="text/javascript">
	var myEditor=new FCKeditor('album.description');
	myEditor.BasePath="${pageContext.request.contextPath}/fckeditor/";
	myEditor.Width="70%";
	myEditor.Height="300";
	myEditor.ReplaceTextarea();
</script>
</html>
